/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="CONVENIOSPLANOS")
public class ConveniosPlanosProteu implements Serializable{

    @Id
    @Column(name="CON_ST_PLA_CODIGO")
    private String conStPlaCodigo;
    @Column(name="CON_ST_FANTASIA")
    private String conStFantasia;
    @Column(name="CON_ST_CODIGO")
    private String conStCodigo;
    @Column(name="CON_ST_PLANO")
    private String conStPlano;
    @Column(name="CON_ST_PLA_DESCRICAO")
    private String conStPlaDescricao;
    @Column(name="CON_CH_PLA_INDIVIDUAL")
    private String conChPlaIndividual;
    @Column(name="CON_CH_PLA_EMPRESARIAL")
    private String conChPlaEmpresarial;
    @Column(name="CON_FL_PLA_VLR_CH_SADT")
    private Float conFlPlaVlrChSADT;
    @Column(name="CON_FL_PLA_VLR_CH_HONOR_MED")
    private Float conFlPlaVlrChHonorMed;
    @Column(name="CON_FL_PLA_VLR_CONSULTAS")
    private Double conFlPlaVlrConsultas;
    @Column(name="CON_ST_PLA_OBSERVACOES")
    private String conStPlaObservacoes;
    @Column(name="CON_CH_PLA_BLOQUEADO")
    private String conChPlaBloqueado;
    @Column(name="IND_ST_CODIGO")
    private String indStCodigo;
    @Column(name="CON_ST_CBOS")
    private String conStCbos;


    public String getConChPlaBloqueado() {
        return conChPlaBloqueado;
    }

    public void setConChPlaBloqueado(String conChPlaBloqueado) {
        this.conChPlaBloqueado = conChPlaBloqueado;
    }

    public String getConChPlaEmpresarial() {
        return conChPlaEmpresarial;
    }

    public void setConChPlaEmpresarial(String conChPlaEmpresarial) {
        this.conChPlaEmpresarial = conChPlaEmpresarial;
    }

    public String getConChPlaIndividual() {
        return conChPlaIndividual;
    }

    public void setConChPlaIndividual(String conChPlaIndividual) {
        this.conChPlaIndividual = conChPlaIndividual;
    }

    public Float getConFlPlaVlrChHonorMed() {
        return conFlPlaVlrChHonorMed;
    }

    public void setConFlPlaVlrChHonorMed(Float conFlPlaVlrChHonorMed) {
        this.conFlPlaVlrChHonorMed = conFlPlaVlrChHonorMed;
    }

    public Float getConFlPlaVlrChSADT() {
        return conFlPlaVlrChSADT;
    }

    public void setConFlPlaVlrChSADT(Float conFlPlaVlrChSADT) {
        this.conFlPlaVlrChSADT = conFlPlaVlrChSADT;
    }

    public Double getConFlPlaVlrConsultas() {
        return conFlPlaVlrConsultas;
    }

    public void setConFlPlaVlrConsultas(Double conFlPlaVlrConsultas) {
        this.conFlPlaVlrConsultas = conFlPlaVlrConsultas;
    }

    public String getConStCbos() {
        return conStCbos;
    }

    public void setConStCbos(String conStCbos) {
        this.conStCbos = conStCbos;
    }

    public String getConStCodigo() {
        return conStCodigo;
    }

    public void setConStCodigo(String conStCodigo) {
        this.conStCodigo = conStCodigo;
    }

    public String getConStFantasia() {
        return conStFantasia;
    }

    public void setConStFantasia(String conStFantasia) {
        this.conStFantasia = conStFantasia;
    }

    public String getConStPlaCodigo() {
        return conStPlaCodigo;
    }

    public void setConStPlaCodigo(String conStPlaCodigo) {
        this.conStPlaCodigo = conStPlaCodigo;
    }

    public String getConStPlaDescricao() {
        return conStPlaDescricao;
    }

    public void setConStPlaDescricao(String conStPlaDescricao) {
        this.conStPlaDescricao = conStPlaDescricao;
    }

    public String getConStPlaObservacoes() {
        return conStPlaObservacoes;
    }

    public void setConStPlaObservacoes(String conStPlaObservacoes) {
        this.conStPlaObservacoes = conStPlaObservacoes;
    }

    public String getConStPlano() {
        return conStPlano;
    }

    public void setConStPlano(String conStPlano) {
        this.conStPlano = conStPlano;
    }

    public String getIndStCodigo() {
        return indStCodigo;
    }

    public void setIndStCodigo(String indStCodigo) {
        this.indStCodigo = indStCodigo;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final ConveniosPlanosProteu other = (ConveniosPlanosProteu) obj;
        if ((this.conStPlaCodigo == null) ? (other.conStPlaCodigo != null) : !this.conStPlaCodigo.equals(other.conStPlaCodigo)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 41 * hash + (this.conStPlaCodigo != null ? this.conStPlaCodigo.hashCode() : 0);
        return hash;
    }

    

}
